import React, { Component } from 'react'

let hello = () => alert('hello')

function getFullname(firstName,lastName){
  return firstName + " "+ lastName
}

var myhtml= <div><h1>hello world</h1></div>

export default class JSX extends Component {
  render() {
    return (
      <div>
        {1 + 2 + 3}
        <hr />
        {/* {hello()} */}
        {
          (function(){console.log('hello')})()
        }
        {
          getFullname('shen','jun')
        }
        {
          myhtml
        }
      </div>
    )
  }
}
